package com.waimai1.waimai.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.waimai1.waimai.common.R;
import com.waimai1.waimai.entity.MyOrder;

import java.text.ParseException;
import java.util.Map;

public interface MHService {
    
    String getSign(String argsMap, String time);
    Object getData(Map<String,Object> argsMap, String url, String time);

    void createOrder(MyOrder order);

    Object mhPPNotify(Map<String,Object> map)throws JsonProcessingException, IllegalAccessException, NoSuchFieldException, InstantiationException, ParseException;

    void createDYOrder(MyOrder order);

    Object mhDYNotify(Map<String, Object> argsMap) throws JsonProcessingException, IllegalAccessException, NoSuchFieldException, InstantiationException, ParseException;

    R<MyOrder> searchOrder(MyOrder order);
}
